package com.atde._03_creational_design_patterns.builder;


/**
 * @BelongsProject: hsp_java_design_mode
 * @BelongsPackage: com.atde._03_creational_design_patterns.builder
 * @Author: Del
 * @CreateTime: 2025-06-18  16:46
 * @Description: 构建抽象类
 * @Version: 1.0
 */
public abstract class AbstractHouse {

    // 打地基
    public abstract void buildBasic();

    // 砌墙
    public abstract void buildWalls();

    // 封顶
    public abstract void roofed();

    public void build(){
        buildBasic();
        buildWalls();
        roofed();
    }
}
